package com.hanserwei.mydemo.stream;

import java.util.Map;

public class BuildStreamTest2 {
    public static void main(String[] args) {
        // 1.构建Map
        Map.of("a", 1, "b", 2, "c", 3)
                .entrySet()
                .stream()
                .forEach(System.out::println);
    }
}
